package com.xy.api.constant.enums;

import lombok.Getter;

@Getter
public enum UnitTypeEnum {
    LENGTH(1, "长度"),
    WEIGHT(2, "质量"),
    VOLUME(3, "体积"),
    EXCHANGE_RATE(4, "汇率"),
    ;

    private Integer code;

    private String name;

    UnitTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
